[INFO] fetching crate qatrade-rs 0.4.0...
[INFO] testing qatrade-rs-0.4.0 against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] extracting crate qatrade-rs 0.4.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate qatrade-rs 0.4.0 on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate qatrade-rs 0.4.0
[INFO] finished tweaking crates.io crate qatrade-rs 0.4.0
[INFO] tweaked toml for crates.io crate qatrade-rs 0.4.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate crates.io crate qatrade-rs 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded instant v0.1.8
[INFO] [stderr]   Downloaded async-trait v0.1.41
[INFO] [stderr]   Downloaded futures v0.1.30
[INFO] [stderr]   Downloaded log4rs v0.12.0
[INFO] [stderr]   Downloaded futures-executor v0.3.7
[INFO] [stderr]   Downloaded websocket-base v0.26.2
[INFO] [stderr]   Downloaded futures-io v0.3.7
[INFO] [stderr]   Downloaded websocket v0.26.2
[INFO] [stderr]   Downloaded futures v0.3.7
[INFO] [stderr]   Downloaded amiquip v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] af6280d8a1ae8b7dcd946367c1a32e961cd06c2cd564cf8588dbd7873cab61cc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "af6280d8a1ae8b7dcd946367c1a32e961cd06c2cd564cf8588dbd7873cab61cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af6280d8a1ae8b7dcd946367c1a32e961cd06c2cd564cf8588dbd7873cab61cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af6280d8a1ae8b7dcd946367c1a32e961cd06c2cd564cf8588dbd7873cab61cc", kill_on_drop: false }`
[INFO] [stdout] af6280d8a1ae8b7dcd946367c1a32e961cd06c2cd564cf8588dbd7873cab61cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 189847b974069f98eb0299df07259e26715c2cbb5ca3421f553eddaff9e7ebb5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "189847b974069f98eb0299df07259e26715c2cbb5ca3421f553eddaff9e7ebb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling futures-core v0.3.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling futures-io v0.3.7
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling futures-sink v0.3.7
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling object v0.21.1
[INFO] [stderr]    Compiling futures v0.1.30
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.18
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.0
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling cookie-factory v0.2.4
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling os_info v1.3.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling md5 v0.6.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling futures-task v0.3.7
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.7
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling yaml-rust v0.4.4
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling err-derive v0.2.4
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling thread-id v3.3.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling backtrace v0.3.53
[INFO] [stderr]    Compiling flate2 v1.0.18
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling input_buffer v0.2.0
[INFO] [stderr]    Compiling futures-intrusive v0.3.1
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling md-5 v0.8.0
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling libz-sys v1.1.2
[INFO] [stderr]    Compiling libgit2-sys v0.9.2
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling webpki-roots v0.18.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.21
[INFO] [stderr]    Compiling async-trait v0.1.41
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling actix_derive v0.5.0
[INFO] [stderr]    Compiling typed-builder v0.3.0
[INFO] [stderr]    Compiling snafu-derive v0.4.4
[INFO] [stderr]    Compiling derivative v1.0.4
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling serde_with_macros v1.2.2
[INFO] [stderr]    Compiling thiserror v1.0.21
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling pin-project v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.7
[INFO] [stderr]    Compiling snafu v0.4.4
[INFO] [stderr]    Compiling futures-executor v0.3.7
[INFO] [stderr]    Compiling futures v0.3.7
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]    Compiling serde_with v1.5.1
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling serde_bytes v0.10.5
[INFO] [stderr]    Compiling serde-value v0.6.0
[INFO] [stderr]    Compiling serde_yaml v0.8.13
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling git2 v0.10.2
[INFO] [stderr]    Compiling rustls v0.17.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling os_info v2.0.8
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling rustls v0.16.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling async-io v1.3.1
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-tls v0.2.1
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling async-global-executor v1.4.3
[INFO] [stderr]    Compiling amq-protocol-types v1.2.0
[INFO] [stderr]    Compiling handlebars v1.1.0
[INFO] [stderr]    Compiling bson v1.1.0
[INFO] [stderr]    Compiling bson v0.14.1
[INFO] [stderr]    Compiling log4rs v0.12.0
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling async-std v1.8.0
[INFO] [stderr]    Compiling built v0.3.2
[INFO] [stderr]    Compiling websocket-base v0.26.2
[INFO] [stderr]    Compiling amq-protocol-codegen v1.4.0
[INFO] [stderr]    Compiling websocket v0.26.2
[INFO] [stderr]    Compiling amiquip v0.3.3
[INFO] [stderr]    Compiling trust-dns-proto v0.19.5
[INFO] [stderr]    Compiling tokio-rustls v0.13.1
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling amq-protocol v1.4.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.5
[INFO] [stderr]    Compiling mongodb v1.1.1
[INFO] [stderr]    Compiling mongodb v0.9.2
[INFO] [stderr]    Compiling actix v0.10.0
[INFO] [stderr]    Compiling qifi-rs v0.3.0
[INFO] [stderr]    Compiling qatrade-rs v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/qawebsocket.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, Message, WebSocketError, ClientBuilder};
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qawebsocket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `warn`
[INFO] [stdout]  --> src/qawebsocket.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{warn, error, debug, info};
[INFO] [stdout]   |           ^^^^         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/qawebsocket.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RtnData`
[INFO] [stdout]  --> src/qawebsocket.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::msg::{parse_message, RtnData};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `XPeek`, `XReqLogin`
[INFO] [stdout]  --> src/qawebsocket.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::xmsg::{XPeek, XReqLogin};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::CONFIG`
[INFO] [stdout]   --> src/qawebsocket.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::config::CONFIG;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qaeventmq.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/msg.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, error, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]   --> src/config.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_collection`, `struct_to_doc`
[INFO] [stdout]   --> src/qatrader.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::qamongo::{struct_to_doc, get_collection, update_qifi};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ClientBuilder`
[INFO] [stdout]  --> src/scheduler.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, ClientBuilder, WebSocketError};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `warn`
[INFO] [stdout]  --> src/scheduler.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/scheduler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]   --> src/scheduler.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Mutex, Arc};
[INFO] [stdout]    |                 ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/qawebsocket.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/log4.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let handle = log4rs::init_config(config).unwrap();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/qatrader.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if let Some(s) = new_message.get("session") {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/qatrader.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 |         for (k, v) in ni {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mq_loop`
[INFO] [stdout]   --> src/scheduler.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mq_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mq_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `receive_loop`
[INFO] [stdout]   --> src/scheduler.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let receive_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/scheduler.rs:94:84
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ctx.run_interval(Duration::from_secs(CONFIG.common.ping_gap as u64), |act, ctx| {
[INFO] [stdout]    |                                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `act`
[INFO] [stdout]    --> src/scheduler.rs:111:52
[INFO] [stdout]     |
[INFO] [stdout] 111 |             ctx.run_later(Duration::from_secs(3), |act, ctx| {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_act`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:126:49
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn handle(&mut self, msg: OwnedMessageWrap, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn handle(&mut self, msg: SyncMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/scheduler.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdin`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml::Value`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use toml::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `OwnedMessage`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use websocket::{Message, OwnedMessage};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, `warn`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{error, info, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut scheduler = Scheduler::new();
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sys.run();
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 00s
[INFO] running `Command { std: "docker" "inspect" "189847b974069f98eb0299df07259e26715c2cbb5ca3421f553eddaff9e7ebb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "189847b974069f98eb0299df07259e26715c2cbb5ca3421f553eddaff9e7ebb5", kill_on_drop: false }`
[INFO] [stdout] 189847b974069f98eb0299df07259e26715c2cbb5ca3421f553eddaff9e7ebb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c551922bb308ab74492fe726132aa616760d79ca12ced6d82ce7ecd99d8a65b9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c551922bb308ab74492fe726132aa616760d79ca12ced6d82ce7ecd99d8a65b9", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/qawebsocket.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, Message, WebSocketError, ClientBuilder};
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qawebsocket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `warn`
[INFO] [stdout]  --> src/qawebsocket.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{warn, error, debug, info};
[INFO] [stdout]   |           ^^^^         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/qawebsocket.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RtnData`
[INFO] [stdout]  --> src/qawebsocket.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::msg::{parse_message, RtnData};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `XPeek`, `XReqLogin`
[INFO] [stdout]  --> src/qawebsocket.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::xmsg::{XPeek, XReqLogin};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::CONFIG`
[INFO] [stdout]   --> src/qawebsocket.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::config::CONFIG;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qaeventmq.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/msg.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, error, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]   --> src/config.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_collection`, `struct_to_doc`
[INFO] [stdout]   --> src/qatrader.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::qamongo::{struct_to_doc, get_collection, update_qifi};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ClientBuilder`
[INFO] [stdout]  --> src/scheduler.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, ClientBuilder, WebSocketError};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `warn`
[INFO] [stdout]  --> src/scheduler.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/scheduler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]   --> src/scheduler.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Mutex, Arc};
[INFO] [stdout]    |                 ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/qawebsocket.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling qatrade-rs v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/log4.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let handle = log4rs::init_config(config).unwrap();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/qatrader.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if let Some(s) = new_message.get("session") {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/qatrader.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 |         for (k, v) in ni {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mq_loop`
[INFO] [stdout]   --> src/scheduler.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mq_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mq_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `receive_loop`
[INFO] [stdout]   --> src/scheduler.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let receive_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/scheduler.rs:94:84
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ctx.run_interval(Duration::from_secs(CONFIG.common.ping_gap as u64), |act, ctx| {
[INFO] [stdout]    |                                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `act`
[INFO] [stdout]    --> src/scheduler.rs:111:52
[INFO] [stdout]     |
[INFO] [stdout] 111 |             ctx.run_later(Duration::from_secs(3), |act, ctx| {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_act`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:126:49
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn handle(&mut self, msg: OwnedMessageWrap, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn handle(&mut self, msg: SyncMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/scheduler.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdin`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::stdin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `toml::Value`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use toml::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Message`, `OwnedMessage`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use websocket::{Message, OwnedMessage};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, `warn`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{error, info, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut scheduler = Scheduler::new();
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     sys.run();
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Message`
[INFO] [stdout]  --> src/qawebsocket.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, Message, WebSocketError, ClientBuilder};
[INFO] [stdout]   |                               ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qawebsocket.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `warn`
[INFO] [stdout]  --> src/qawebsocket.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{warn, error, debug, info};
[INFO] [stdout]   |           ^^^^         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/qawebsocket.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RtnData`
[INFO] [stdout]  --> src/qawebsocket.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::msg::{parse_message, RtnData};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `XPeek`, `XReqLogin`
[INFO] [stdout]  --> src/qawebsocket.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::xmsg::{XPeek, XReqLogin};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::CONFIG`
[INFO] [stdout]   --> src/qawebsocket.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::config::CONFIG;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/qaeventmq.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/msg.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, error, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SubCommand`
[INFO] [stdout]   --> src/config.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use clap::{Arg, App, SubCommand};
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_collection`, `struct_to_doc`
[INFO] [stdout]   --> src/qatrader.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::qamongo::{struct_to_doc, get_collection, update_qifi};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ClientBuilder`
[INFO] [stdout]  --> src/scheduler.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use websocket::{OwnedMessage, ClientBuilder, WebSocketError};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `warn`
[INFO] [stdout]  --> src/scheduler.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::Local`
[INFO] [stdout]  --> src/scheduler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::Local;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]   --> src/scheduler.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Mutex, Arc};
[INFO] [stdout]    |                 ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/qawebsocket.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]   --> src/log4.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let handle = log4rs::init_config(config).unwrap();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/qatrader.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if let Some(s) = new_message.get("session") {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/qatrader.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 |         for (k, v) in ni {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mq_loop`
[INFO] [stdout]   --> src/scheduler.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mq_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mq_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `receive_loop`
[INFO] [stdout]   --> src/scheduler.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let receive_loop = thread::spawn(move || {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/scheduler.rs:94:84
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ctx.run_interval(Duration::from_secs(CONFIG.common.ping_gap as u64), |act, ctx| {
[INFO] [stdout]    |                                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `act`
[INFO] [stdout]    --> src/scheduler.rs:111:52
[INFO] [stdout]     |
[INFO] [stdout] 111 |             ctx.run_later(Duration::from_secs(3), |act, ctx| {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_act`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:126:49
[INFO] [stdout]     |
[INFO] [stdout] 126 |     fn handle(&mut self, msg: OwnedMessageWrap, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:139:44
[INFO] [stdout]     |
[INFO] [stdout] 139 |     fn handle(&mut self, msg: SyncMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/scheduler.rs:151:26
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/scheduler.rs:151:44
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stdout]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.38s
[INFO] running `Command { std: "docker" "inspect" "c551922bb308ab74492fe726132aa616760d79ca12ced6d82ce7ecd99d8a65b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c551922bb308ab74492fe726132aa616760d79ca12ced6d82ce7ecd99d8a65b9", kill_on_drop: false }`
[INFO] [stdout] c551922bb308ab74492fe726132aa616760d79ca12ced6d82ce7ecd99d8a65b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5de27beee592a96d1eceea1a95b1da99691ef7048531b646c7160185405b6a88
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5de27beee592a96d1eceea1a95b1da99691ef7048531b646c7160185405b6a88", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Message`
[INFO] [stderr]  --> src/qawebsocket.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use websocket::{OwnedMessage, Message, WebSocketError, ClientBuilder};
[INFO] [stderr]   |                               ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/qawebsocket.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `debug`, `warn`
[INFO] [stderr]  --> src/qawebsocket.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use log::{warn, error, debug, info};
[INFO] [stderr]   |           ^^^^         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Local`
[INFO] [stderr]  --> src/qawebsocket.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use chrono::Local;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RtnData`
[INFO] [stderr]  --> src/qawebsocket.rs:8:33
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::msg::{parse_message, RtnData};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `XPeek`, `XReqLogin`
[INFO] [stderr]  --> src/qawebsocket.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::xmsg::{XPeek, XReqLogin};
[INFO] [stderr]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::config::CONFIG`
[INFO] [stderr]   --> src/qawebsocket.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::config::CONFIG;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/qaeventmq.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/msg.rs:3:24
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{info, error, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SubCommand`
[INFO] [stderr]   --> src/config.rs:10:22
[INFO] [stderr]    |
[INFO] [stderr] 10 | use clap::{Arg, App, SubCommand};
[INFO] [stderr]    |                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get_collection`, `struct_to_doc`
[INFO] [stderr]   --> src/qatrader.rs:10:22
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::qamongo::{struct_to_doc, get_collection, update_qifi};
[INFO] [stderr]    |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ClientBuilder`
[INFO] [stderr]  --> src/scheduler.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use websocket::{OwnedMessage, ClientBuilder, WebSocketError};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `info`, `warn`
[INFO] [stderr]  --> src/scheduler.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{error, info, warn};
[INFO] [stderr]   |                  ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Local`
[INFO] [stderr]  --> src/scheduler.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use chrono::Local;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `Mutex`
[INFO] [stderr]   --> src/scheduler.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::sync::{Mutex, Arc};
[INFO] [stderr]    |                 ^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/qawebsocket.rs:83:21
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 Err(e) => {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `handle`
[INFO] [stderr]   --> src/log4.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let handle = log4rs::init_config(config).unwrap();
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/qatrader.rs:51:21
[INFO] [stderr]    |
[INFO] [stderr] 51 |         if let Some(s) = new_message.get("session") {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/qatrader.rs:144:14
[INFO] [stderr]     |
[INFO] [stderr] 144 |         for (k, v) in ni {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mq_loop`
[INFO] [stderr]   --> src/scheduler.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let mq_loop = thread::spawn(move || {
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mq_loop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `receive_loop`
[INFO] [stderr]   --> src/scheduler.rs:50:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let receive_loop = thread::spawn(move || {
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/scheduler.rs:94:84
[INFO] [stderr]    |
[INFO] [stderr] 94 |         ctx.run_interval(Duration::from_secs(CONFIG.common.ping_gap as u64), |act, ctx| {
[INFO] [stderr]    |                                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `act`
[INFO] [stderr]    --> src/scheduler.rs:111:52
[INFO] [stderr]     |
[INFO] [stderr] 111 |             ctx.run_later(Duration::from_secs(3), |act, ctx| {
[INFO] [stderr]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_act`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:126:49
[INFO] [stderr]     |
[INFO] [stderr] 126 |     fn handle(&mut self, msg: OwnedMessageWrap, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:139:44
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn handle(&mut self, msg: SyncMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]    --> src/scheduler.rs:151:26
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:151:44
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: 27 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Message`
[INFO] [stderr]  --> src/qawebsocket.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use websocket::{OwnedMessage, Message, WebSocketError, ClientBuilder};
[INFO] [stderr]   |                               ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/qawebsocket.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `debug`, `warn`
[INFO] [stderr]  --> src/qawebsocket.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use log::{warn, error, debug, info};
[INFO] [stderr]   |           ^^^^         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Local`
[INFO] [stderr]  --> src/qawebsocket.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use chrono::Local;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RtnData`
[INFO] [stderr]  --> src/qawebsocket.rs:8:33
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::msg::{parse_message, RtnData};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `XPeek`, `XReqLogin`
[INFO] [stderr]  --> src/qawebsocket.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::xmsg::{XPeek, XReqLogin};
[INFO] [stderr]   |                   ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::config::CONFIG`
[INFO] [stderr]   --> src/qawebsocket.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::config::CONFIG;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/qaeventmq.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/msg.rs:3:24
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{info, error, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SubCommand`
[INFO] [stderr]   --> src/config.rs:10:22
[INFO] [stderr]    |
[INFO] [stderr] 10 | use clap::{Arg, App, SubCommand};
[INFO] [stderr]    |                      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get_collection`, `struct_to_doc`
[INFO] [stderr]   --> src/qatrader.rs:10:22
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::qamongo::{struct_to_doc, get_collection, update_qifi};
[INFO] [stderr]    |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ClientBuilder`
[INFO] [stderr]  --> src/scheduler.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use websocket::{OwnedMessage, ClientBuilder, WebSocketError};
[INFO] [stderr]   |                               ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `info`, `warn`
[INFO] [stderr]  --> src/scheduler.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{error, info, warn};
[INFO] [stderr]   |                  ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Local`
[INFO] [stderr]  --> src/scheduler.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use chrono::Local;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `Mutex`
[INFO] [stderr]   --> src/scheduler.rs:13:17
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::sync::{Mutex, Arc};
[INFO] [stderr]    |                 ^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/qawebsocket.rs:83:21
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 Err(e) => {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `handle`
[INFO] [stderr]   --> src/log4.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let handle = log4rs::init_config(config).unwrap();
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]   --> src/qatrader.rs:51:21
[INFO] [stderr]    |
[INFO] [stderr] 51 |         if let Some(s) = new_message.get("session") {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]    --> src/qatrader.rs:144:14
[INFO] [stderr]     |
[INFO] [stderr] 144 |         for (k, v) in ni {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mq_loop`
[INFO] [stderr]   --> src/scheduler.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let mq_loop = thread::spawn(move || {
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mq_loop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `receive_loop`
[INFO] [stderr]   --> src/scheduler.rs:50:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |         let receive_loop = thread::spawn(move || {
[INFO] [stderr]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_loop`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/scheduler.rs:94:84
[INFO] [stderr]    |
[INFO] [stderr] 94 |         ctx.run_interval(Duration::from_secs(CONFIG.common.ping_gap as u64), |act, ctx| {
[INFO] [stderr]    |                                                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `act`
[INFO] [stderr]    --> src/scheduler.rs:111:52
[INFO] [stderr]     |
[INFO] [stderr] 111 |             ctx.run_later(Duration::from_secs(3), |act, ctx| {
[INFO] [stderr]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_act`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:126:49
[INFO] [stderr]     |
[INFO] [stderr] 126 |     fn handle(&mut self, msg: OwnedMessageWrap, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:139:44
[INFO] [stderr]     |
[INFO] [stderr] 139 |     fn handle(&mut self, msg: SyncMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `msg`
[INFO] [stderr]    --> src/scheduler.rs:151:26
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]    --> src/scheduler.rs:151:44
[INFO] [stderr]     |
[INFO] [stderr] 151 |     fn handle(&mut self, msg: PongMessage, ctx: &mut Context<Self>) {
[INFO] [stderr]     |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: 27 warnings emitted
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::stdin`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::stdin;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `toml::Value`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use toml::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Message`, `OwnedMessage`
[INFO] [stderr]  --> src/main.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use websocket::{Message, OwnedMessage};
[INFO] [stderr]   |                 ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error`, `info`, `warn`
[INFO] [stderr]  --> src/main.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use log::{error, info, warn};
[INFO] [stderr]   |           ^^^^^  ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 |     let mut scheduler = Scheduler::new();
[INFO] [stderr]    |         ----^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     sys.run();
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/qatrade_rs-f23c5f9cfcbdce93)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/qatrade_rs-c6d994c2feb86c12)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests qatrade-rs
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5de27beee592a96d1eceea1a95b1da99691ef7048531b646c7160185405b6a88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de27beee592a96d1eceea1a95b1da99691ef7048531b646c7160185405b6a88", kill_on_drop: false }`
[INFO] [stdout] 5de27beee592a96d1eceea1a95b1da99691ef7048531b646c7160185405b6a88
